<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document @yield('title')</title>
    <link rel="stylesheet" href="{{asset('css/bootstrap.min.css') }}">
    <script type="text/javascript" src="{{asset('js/jquery-1.8.3.min.js') }}"></script>
    <script type="text/javascript" src="{{asset('js/bootstrap.min.js') }}"></script>
</head>
<body>
<div class="container">
    <div class="jumbotron">
        <h1>laravel5</h1>
        <p>curd</p>
        <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
    </div>
</div>
<div class="container">
    <div class="row">
        <div class="col-md-3">
            @section('sidebar')
                <div class="list-group">
                    <a href="{{url('test/test')}}" class="list-group-item {{Request::getPathInfo()!='/test/add'?'active':''}}">学生信息表</a>
                    <a href="{{url('test/add')}}" class="list-group-item {{Request::getPathInfo()=='/test/add'?'active':''}}">新增学生</a>
                </div>
            @show
        </div>
        <div class="col-md-9">
            @section('main')

            @show
        </div>
    </div>

</div>
</body>
</html>